package com.wondertek.poms.core.service;

import com.wondertek.poms.common.service.IService;
import com.wondertek.poms.dao.po.MediaFile;

import java.util.List;

public interface IMediaFileService extends IService<MediaFile, Long> {

    void deleteByContentId(String contentId);

    List<MediaFile> findByContentId(String contentId);

    List<MediaFile> findByContentIdAndOprCode(String contentId,String oprCode);

    MediaFile getByContentIdAndMediaFileId(String contentId,String mediaFileId);

    List<MediaFile> findListByContent(String contentId);
}
